package com.ruoyi.crm.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单信息对象 crm_orders
 * 
 * @author ruoyi
 * @date 2021-10-14
 */
public class CrmOrders extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 计划开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date doneDt;
    /** 订单UUID */
    private String orderUuid;
    /**订单完成日期*/
    private String stockInDocDt;
    /** 订单编号 */
    @Excel(name = "订单编号")
    private String[] fkCustUuids;
    private Long value;
    /** 交付日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交付日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderDeliveryDate;
    /** 订单金额(元) */
    @Excel(name = "订单金额(元)")
    private String orderAmt;
    /** 客户UUID */
    @Excel(name = "客户UUID")
    private String fkCustUuid;
    /** 客户名称 */
    @Excel(name = "客户名称")
    private String custName;
    /** 客户名称 */
    @Excel(name = "客户编号")
    private String custNum;
    /** 系统开关 */
    @Excel(name = "系统开关")
    private String dicSysNormalDisable;
    private String confirmUserName;
    private String salesPerson;
    private String wmsDictMeasuringUnit;
    private String orderDetailUuid;
    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;
    /** 明细顺序 */
    @Excel(name = "明细顺序")
    private String orderDetailOrderBy;
    /** 单价 */
    @Excel(name = "单价")
    private Long orderDetailAmt;
    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal orderDetailQty;
    /** 金额 */
    @Excel(name = "金额")
    private String orderDetailTotalAmt;
    /** 紧急程度 */
    @Excel(name = "紧急程度")
    private String dicMesUrgencyLevel;
    private String orderDetailItemUuid;
    private BigDecimal unitPriceTaxIncluded;
    private BigDecimal taxRate;
    private BigDecimal taxAmt;
    private BigDecimal totalPriceAndTax;

    public String getOrderDetailItemUuid() {
        return orderDetailItemUuid;
    }

    public void setOrderDetailItemUuid(String orderDetailItemUuid) {
        this.orderDetailItemUuid = orderDetailItemUuid;
    }

    public String getOrderDetailUuid() {
        return orderDetailUuid;
    }

    public void setOrderDetailUuid(String orderDetailUuid) {
        this.orderDetailUuid = orderDetailUuid;
    }

    public BigDecimal getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(BigDecimal taxRate) {
        this.taxRate = taxRate;
    }

    public BigDecimal getTaxAmt() {
        return taxAmt;
    }

    public void setTaxAmt(BigDecimal taxAmt) {
        this.taxAmt = taxAmt;
    }

    public BigDecimal getTotalPriceAndTax() {
        return totalPriceAndTax;
    }

    public void setTotalPriceAndTax(BigDecimal totalPriceAndTax) {
        this.totalPriceAndTax = totalPriceAndTax;
    }

    public BigDecimal getUnitPriceTaxIncluded() {
        return unitPriceTaxIncluded;
    }

    public void setUnitPriceTaxIncluded(BigDecimal unitPriceTaxIncluded) {
        this.unitPriceTaxIncluded = unitPriceTaxIncluded;
    }
    public String getWmsDictMeasuringUnit() {
        return wmsDictMeasuringUnit;
    }

    public void setWmsDictMeasuringUnit(String wmsDictMeasuringUnit) {
        this.wmsDictMeasuringUnit = wmsDictMeasuringUnit;
    }

    public String getOrderDetailOrderBy() {
        return orderDetailOrderBy;
    }

    public void setOrderDetailOrderBy(String orderDetailOrderBy) {
        this.orderDetailOrderBy = orderDetailOrderBy;
    }

    public Long getOrderDetailAmt() {
        return orderDetailAmt;
    }

    public void setOrderDetailAmt(Long orderDetailAmt) {
        this.orderDetailAmt = orderDetailAmt;
    }

    public BigDecimal getOrderDetailQty() {
        return orderDetailQty;
    }

    public void setOrderDetailQty(BigDecimal orderDetailQty) {
        this.orderDetailQty = orderDetailQty;
    }

    public String getOrderDetailTotalAmt() {
        return orderDetailTotalAmt;
    }

    public void setOrderDetailTotalAmt(String orderDetailTotalAmt) {
        this.orderDetailTotalAmt = orderDetailTotalAmt;
    }

    public String getDicMesUrgencyLevel() {
        return dicMesUrgencyLevel;
    }

    public void setDicMesUrgencyLevel(String dicMesUrgencyLevel) {
        this.dicMesUrgencyLevel = dicMesUrgencyLevel;
    }

    /** 订单明细信息 */
    private List<CrmOrderDetails> crmOrderDetailsList;

    public Long getValue() {
        return value;
    }

    public void setValue(Long value) {
        this.value = value;
    }

    public String[] getFkCustUuids() {
        return fkCustUuids;
    }

    public void setFkCustUuids(String[] fkCustUuids) {
        this.fkCustUuids = fkCustUuids;
    }

    public String getStockInDocDt() {
        return stockInDocDt;
    }

    public void setStockInDocDt(String stockInDocDt) {
        this.stockInDocDt = stockInDocDt;
    }

    public Date getDoneDt() {
        return doneDt;
    }

    public void setDoneDt(Date doneDt) {
        this.doneDt = doneDt;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getConfirmUserName() {
        return confirmUserName;
    }

    public void setConfirmUserName(String confirmUserName) {
        this.confirmUserName = confirmUserName;
    }

    public String getCustNum() {
        return custNum;
    }

    public void setCustNum(String custNum) {
        this.custNum = custNum;
    }

    public String getSalesPerson() {
        return salesPerson;
    }

    public void setSalesPerson(String salesPerson) {
        this.salesPerson = salesPerson;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setOrderUuid(String orderUuid) 
    {
        this.orderUuid = orderUuid;
    }

    public String getOrderUuid() 
    {
        return orderUuid;
    }

    public void setOrderDeliveryDate(Date orderDeliveryDate) 
    {
        this.orderDeliveryDate = orderDeliveryDate;
    }

    public Date getOrderDeliveryDate() 
    {
        return orderDeliveryDate;
    }
    public void setOrderAmt(String orderAmt) 
    {
        this.orderAmt = orderAmt;
    }

    public String getOrderAmt() 
    {
        return orderAmt;
    }
    public void setFkCustUuid(String fkCustUuid)
    {
        this.fkCustUuid = fkCustUuid;
    }

    public String getFkCustUuid()
    {
        return fkCustUuid;
    }
    public void setDicSysNormalDisable(String dicSysNormalDisable) 
    {
        this.dicSysNormalDisable = dicSysNormalDisable;
    }

    public String getDicSysNormalDisable() 
    {
        return dicSysNormalDisable;
    }

    public List<CrmOrderDetails> getCrmOrderDetailsList()
    {
        return crmOrderDetailsList;
    }

    public void setCrmOrderDetailsList(List<CrmOrderDetails> crmOrderDetailsList)
    {
        this.crmOrderDetailsList = crmOrderDetailsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderUuid", getOrderUuid())
            .append("orderDeliveryDate", getOrderDeliveryDate())
            .append("orderAmt", getOrderAmt())
            .append("fkCustUuid", getFkCustUuid())
            .append("dicSysNormalDisable", getDicSysNormalDisable())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("crmOrderDetailsList", getCrmOrderDetailsList())
            .toString();
    }
}
